package com.jeasonzhao.report.codes;

import com.jeasonzhao.commons.basic.IntegerPair;

public final class HorizonAligns extends IntegerPair
{
	private static final long serialVersionUID = 1L;
    public static final HorizonAligns Left = new HorizonAligns(0,"Left");
    public static final HorizonAligns Center = new HorizonAligns(1,"Center");
    public static final HorizonAligns Right = new HorizonAligns(2,"Right");
    private HorizonAligns(int n,String name)
    {
        super(n,name);
    }

    public int hashCode()
    {
        return super.hashCode();
    }

    public static HorizonAligns fromName(String str)
    {
        return(HorizonAligns) IntegerPair.findConstant(HorizonAligns.class,str,Left);
    }

}
